package com.wan37.common.security;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author : luoyong
 * @date : 2020-05-27 16:07
 **/
public final class Md5Util {
    private Md5Util() {
    }


    public static String md5(String str) {
        return DigestUtils.md5Hex(str.getBytes());
    }
}
